package tanxin;

import lombok.Data;

@Data
public class Item {
    private int weight;
    private int value;
    private double valueDen;

    public Item(int weight, int value) {
        this.weight = weight;
        this.value = value;
        this.valueDen = value/(double)weight;
    }

}
